package cn.stylefeng.guns.modular.location.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.location.entity.RealLocation;
import cn.stylefeng.guns.modular.location.model.params.RealLocationParam;
import cn.stylefeng.guns.modular.location.model.result.RealLocationResult;
import cn.stylefeng.guns.sys.modular.system.entity.User;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lww
 * @since 2023-12-19
 */
public interface RealLocationService extends IService<RealLocation> {

    /**
     * 新增
     *
     * @author lww
     * @Date 2023-12-19
     */
    void add(RealLocationParam param);

    /**
     * 删除
     *
     * @author lww
     * @Date 2023-12-19
     */
    void delete(RealLocationParam param);

    /**
     * 更新
     *
     * @author lww
     * @Date 2023-12-19
     */
    void update(RealLocationParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author lww
     * @Date 2023-12-19
     */
    RealLocationResult findBySpec(RealLocationParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author lww
     * @Date 2023-12-19
     */
    List<RealLocationResult> findListBySpec(RealLocationParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author lww
     * @Date 2023-12-19
     */
     LayuiPageInfo findPageBySpec(RealLocationParam param, String condition);


}
